import pytest
from week2_lianxi.utils.db_util import *
from week2_lianxi.config.config import *

@pytest.fixture(scope='class')
def api():
    api = Config('http://10.59.9.18')
    yield api
    api=''

@pytest.fixture(scope='class')
def jdbc():
    jdbc = Jdbc(host='10.59.9.12.7001',user='root',password='yidong666',database='a3mall')
    yield jdbc
    jdbc.close()